package com.yootk.bean.vo.bean;

import com.yootk.processor.ChannelBeanFactoryPostProcessor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.SmartInitializingSingleton;

public class MessageChannel implements SmartInitializingSingleton {
    private static final Logger LOGGER = LoggerFactory.getLogger(ChannelBeanFactoryPostProcessor.class) ;
    private String host ;
    private String token ;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public void afterSingletonsInstantiated() {
        LOGGER.info("【Messagechannel初始化】");
    }
}
